package edu.zut.cs.network.exercise.practice.object;

public class Vote {

//	得票数
	int count;

	
	public Vote() {
		this.count = 0;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}
	
//	对count进行清0
	public void clear()
	{
		this.count=0;
	}
	
//	对count进行增1
	public void increment()
	{
		++this.count;
	}
	
//	对count进行减1
	public void decrement()
	{
		--this.count;
	}
	
	
}
